package com.zhekou.dao;

import com.zhekou.bo.Product;
import com.zhekou.util.JdbcPage;

/**
 * Created by IntelliJ IDEA.
 * User: unicorn3964
 * DateTime: 12-11-21 下午3:15
 */
public class ProductDAO extends BaseDAO<Product> {
    public JdbcPage<Product> getList(int curPage, int pageSize) {
        String sql = "select * from product order by createtime desc";
        return doQueryPage(sql, curPage, pageSize, 0);
    }
}
